Endometrial injury by hysteroscopy or pipelle sampling